package com.jwsoft.manager.common.vo.eduFormEnrollParamsBase;

import com.bifang.assistant.common.vo.BaseVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 动态表单配置表VO
 *
 * @author zjl
 * @since 2024-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EduFormEnrollParamsBaseVO extends BaseVO {

    @Schema(name = "formConfigId", description = "动态表单配置id")
    private String formConfigId;

    @Schema(name = "formId", description = "表单id")
    private String formId;

    @Schema(name = "property", description = "属性名")
    private String property;

    @Schema(name = "propertyType", description = "属性类型")
    private String propertyType;
    private  String propertyTypeName;

    @Schema(name = "param", description = "对应表字段名")
    private String param;

    @Schema(name = "description", description = "描述")
    private String description;

    @Schema(name = "fixedFlag", description = "是否固定字段")
    private String fixedFlag;

    @Schema(name = "requiredFlag", description = "是否必填")
    private String requiredFlag;

    private String requiredFlagName;

    @Schema(name = "max", description = "最大值")
    private Integer max;

    @Schema(name = "min", description = "最小值")
    private Integer min;

    @Schema(name = "defaultPhotos", description = "默认照片显示")
    private String defaultPhotos;

    @Schema(name = "orderNo", description = "排序")
    private Integer orderNo;

    @Schema(name = "createName", description = "创建人")
    private String createName;

    @Schema(name = "createTime", description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(name = "areaCode", description = "行政区划")
    private String areaCode;
}
